home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 2
/
Gold Medal Software Volume 2 (Gold Medal) (1994).iso
/
utils
/
stogl140.arj
/
SCRNTOGL.DOC
< prev
next >
Wrap
Text File
|
1993-06-16
|
8KB
|
181 lines
SCRNTOGL 1.40
by
Roland J Skinner
Copyright (c) 1993
RJS Software
SCRNTOGL is a memory resident utility to toggle the screen on and off.
It provides the ability to switch off the screen manually, to keep "secret"
information from prying eyes of people entering one's office, etc. while
working on a confidential document, program, etc.; or even keeping a person
with whom you are speaking from losing his/her full attention by watching
what is on your monitor.
Also, it provides a "screen-saver" - saves the phosphor in the monitor -
which will toggle the screen off after a certain time-interval with no
keyboard, mouse or joystick action.
The format for executing SCRNTOGL is:
SCRNTOGL [[[delay] [/KEY=key] [/LOADHIGH] | [/UNINSTALL | /U] |
[/ENABLE] | [/DISABLE] | [/SCRNON] | [/SCRNOFF]
] [/QUIET | /Q] | [/HELP | /?]
Here, "delay" is an optional command-line parameter, which sets the
time-interval, in minutes (from 1 to 30), before the screen is
automatically "switched-off".
"/KEY=" is the parameter used to customize the toggle-key to "key". Note
that by default, this key is ESC. Where the documentation uses ESC below,
simply substitute one's own key. "key" is of the form [...], where "[...]"
is one of the following:
[Esc] [F1] [F2] [F3] [F4] [F5] [F6] [F7] [F8] [F9] [F10] [F11] [F12] [Scroll]
[`] [1] [2] [3] [4] [5] [6] [7] [8] [9] [0] [-] [=] [\] [BckSpc] [PrtSc]
[Tab] [Q] [W] [E] [R] [T] [Y] [U] [I] [O] [P] [[] []] [Enter]
[Caps] [A] [S] [D] [F] [G] [H] [J] [K] [L] [;] [']
[LShift] [Z] [X] [C] [V] [B] [N] [M] [,] [.] [/] [RShift]
[Ctrl] [Alt] [Space]
[Num] [#7] [#8] [#9] [#-]
[#4] [#5] [#6] [#+]
[#1] [#2] [#3]
[#0] [#.]
Note, certain of the keys above are not allowed. These keys are [Ctrl],
[Alt], [LShift] and [RShift]. Note also that certain of the keys on the
101-keyboard are not supported.
"/LOADHIGH" is used to load SCRNTOGL high. One requires some UMB-manager
installed in order to do this.
And, "/UNINSTALL" or "/U" is the parameter which is used to remove SCRNTOGL
from memory (only if it is safe to do so).
"/ENABLE" will enable SCRNTOGL, and "/DISABLE" will disable SCRNTOGL. See
below for a short discussion on enabling and disabling.
"/SCRNON" will toggle the screen on, and "/SCRNOFF" will toggle it off.
The "/QUIET" or "/Q" parameter may be used to suppress all display of
messages, except in the case of an error.
"/HELP" or "/?" may be used to get a help-screen.
If no parameter is given, or only "/LOADHIGH" is used, with or without "/Q"
or "/QUIET", SCRNTOGL defaults to a time-interval of 5 minutes.
If an invalid parameter or incorrectly used parameter is given, then
SCRNTOGL will do nothing, and exit with an appropriate message describing
what went wrong.
Note, SCRNTOGL checks whether it is already in memory, and ensures that it
cannot be loaded more than once. If an attempt to reload SCRNTOGL, once it
is already resident, is made, then SCRNTOGL will, once again, exit with
an appropriate message. Also, if one tries to "uninstall" SCRNTOGL, and it
is not resident, then it will exit will such a message.
Toggle-keys are as follows:
* ALT-ESC Switch the screen off manually.
* CTRL-ESC Switch the screen back on after the screen
has been manually or automatically switched
off.
* ALT-LSHFT-RSHFT-ESC Disable or enable SCRNTOGL.
One may require that SCRNTOGL be disabled during certain programs, e.g.
applications that take-over keyboard access (which prevent SCRNTOGL from
working properly), and the sequence ALT-LSHFT-RSHFT-ESC can be used for
this purpose. When disabling SCRNTOGL, a long high-pitched beep will be
heard, indicating a disabled SCRNTOGL, as opposed to the shorter lower-
pitched beep, indicating an enabled SCRNTOGL.
An additional advantage that SCRNTOGL provides is that when the screen is
switched off, it also prevents unwanted people from accessing the computer
by trying to reboot the computer - other than switching it off (you
probably have a password-routine, if you're security conscious) - as the
CTRL-ALT-DEL sequence is temporarily disabled.
It has been found that with some mouse-drivers, SCRNTOGL needs to be loaded
before that mouse-driver, such as GMOUSE v10.10. So, if SCRNTOGL does not
toggle the screen off after some delay of no activity, simply load it
before your mouse-driver.
Note, when using a joystick, SCRNTOGL will only check for either of the
fire-buttons being pressed. This is because if it were to try to detect
direction changes, conflict between SCRNTOGL and a program - probably a
game - that uses the joystick would occur.
SCRNTOGL does not occupy a great deal of memory when resident - in fact it
currently uses only 944 bytes when it loads itself high, otherwise it uses
1040 bytes - and so should not be a problem in a memory-tight system.
I hope you, the user, will appreciate this utility as much as I have.
Roland Skinner
P.O. Box 14134
BREDELL
1623
REPUBLIC OF SOUTH AFRICA
EMail:
InterNet: roland@concave.cs.wits.ac.za
roland.skinner@p1.f55.n7101.z5.fidonet.org
FidoNet: Roland Skinner @ 5:7101/55.1
P.S. For any enquiries, donations, reports on bugs, etc. I may be
contacted at any of the above addresses.
-------------------------- Note to programmers ----------------------------
As of v1.40, a programming API for SCRNTOGL has been included with the
program. The API is in the file "SCRNTOGL.API".
---------------------------------------------------------------------------
Please note, SCRNTOGL is FREEWARE, and it is safe! You may use it until you
get sick of it. SCRNTOGL is not a fancy screen-saver, but it gets the job
done - minimal memory usage is important an important factor in its design.
-------------------------- History of SCRNTOGL ----------------------------
* SCRNTOGL 1.00 (10 July 1991)
Initial release.
* SCRNTOGL 1.10 (11 September 1991)
Fixed a "bug" in which SCRNTOGL would, if the screen border were any
colour other than black, blank the screen to that colour. Now, SCRNTOGL
will blank the screen to black and later, when the screen is toggled
back on, restore the screen border to its initial colour.
* SCRNTOGL 1.20 (1 December 1991)
Major rewrite of SCRNTOGL. SCRNTOGL has been optimized for speed and
size. SCRNTOGL is much smaller than before and also has added features.
SCRNTOGL can now be loaded high (as before), and can now detect whether
it is loaded high - before, if SCRNTOGL was loaded high, one could
load it more than once. Also, the introduction of a programming-
interface has been implemented. The next release will take advantage of
this interface, and include support programs which can be used in batch-
files, etc. to, for example, toggle the screen on or off, disable or
enable SCRNTOGL.
* SCRNTOGL 1.30 (Early 1992 - when, I can't remember - it is now mid '93)
Added many new options. Including enabling and disabling of SCRNTOGL,
toggling the screen on and off, setting the toggle-key, a quiet mode,
and on-line help. Also included was the ability to load itself high
under DOS 5.00 (or above).
* SCRNTOGL 1.40 (16 June 1993)
Corrected problem with SCRNTOGL not working on Mono-VGAs.
Added generic support for loading high. SCRNTOGL now works with any
UMB-manager that supports the XMS specification.
Provided API documentation for programmers.